<?php
error_reporting(0);
include '../db-connection/conn.php';

$info =  $_REQUEST["info"];

$sql = "DELETE from tbl_snow";	
	$run1 = mysql_query($sql);
	
	$sql1="INSERT INTO tbl_snow (info,is_active) VALUES ('$info','Y')";
	$run = mysql_query($sql1);
	
			if($run)
			{
				header("Location:edit-snowmobile.php?msg=success");
				
			}
			else 
			{
				header("Location:edit-snowmobile.php?msg=failure");
			}

?>